package com.steven.string;

import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * User: think
 * Date: 12-10-23
 * Time: 上午10:12
 * To change this template use File | Settings | File Templates.
 */
public class StringTest {
    public static void main(String[] args) {
        String str = "101,102";
        String[] strArr = str.split(",");

        for (String t : strArr) {
            System.out.println(t);
            System.out.println(Arrays.toString(strArr));
        }
    }


}
